package cn.com.sueframe.service.impl;

import java.sql.SQLException;

import cn.com.sueframe.dao.DbmsCompanyDao;
import cn.com.sueframe.service.DbmsCompanyService;
import cn.com.sueframe.vo.OsArea;

/**
 * 产生dao实体
 * 
 * @author anler
 * @create: 2012-8-14
 *
 */
public class DbmsCompanyServiceImpl extends BaseService implements DbmsCompanyService {
	private static final long serialVersionUID = 1L;
	private DbmsCompanyDao dbmsCompanyDao;
    
    /**
	 * 往 area表里插入记录(测试)
	 * 
	 * @author anler
	 * @return void
	 * @create: 2012-8-14
	 * @param area
     * @throws SQLException 
	 * @throws SQLException
	 */
    public void addArea(OsArea area) throws SQLException{
    	area.setAreaId(1);
    	area.setCreator("anler");
    	area.setModifier("anler");
    	area.setId(16);
    	area.setAreaName("邵阳");
    	dbmsCompanyDao.addArea(area);
    }

	public DbmsCompanyDao getDbmsCompanyDao() {
		return dbmsCompanyDao;
	}

	public void setDbmsCompanyDao(DbmsCompanyDao dbmsCompanyDao) {
		this.dbmsCompanyDao = dbmsCompanyDao;
	}
    
}
